package com.glodon.paas.account.dao.domain;

import java.util.Date;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id; 

@Entity(value = "avatar", noClassnameStored = true)
public class AvatarEntity {
	@Id
	String id;			// userId_size
	byte[] item;
	
	Date createTime;
	Date updateTime;
	
	public byte[] getItem() {
		return item;
	}
	public void setItem(byte[] item) {
		this.item = item;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
